/*
* @Author: Srain
* @Date:   2018-07-28 19:06:41
* @Last Modified by:   Srain 
* @Last Modified time: 2018-09-24 20:52:00
*/

'use strict';

var _mm = require('util/mm.js');

var _credit = {
    // 获取我的学分列表
    getCreditList : function(listParam, resolve, reject){
        _mm.request({
            url     : _mm.getServerUrl('/baseVo/wz/myCredit'),
            data    : listParam,
            success : resolve,
            error   : reject
        });
    },
    // 获取实践表信息
    getCreditTable : function(resolve, reject){
        _mm.request({
            url     : _mm.getServerUrl('/credit/credit_table'),
            data    : {
                id : id
            },
            success : resolve,
            error   : reject
        });
    },

}
module.exports = _credit;